package com.ju.ushop.member.feign;

import com.ju.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author GuoJun
 * @date 2021/5/19 22:43
 * @email 864350301@qq.com
 *
 * 这是一个声明方式的远程调用
 */
@FeignClient("ushop-coupon")
public interface CouponFeignService {

    @RequestMapping("coupon/coupon/member/list")
    public R memberCoupons();
}
